import { boot } from 'quasar/wrappers';

const getDataCounts = () => {
    return {
        pheno_name: {
            apaQTL: 'APA event',
            eQTL: 'Coding gene',
            lnceQTL: 'lncRNA gene',
            mireQTL: 'miRNA gene',
            meQTL: 'Methylation probe',
            sQTL: 'Splice event',
        },
        sample: [
            77, 408, 1091, 299, 36, 285, 48, 184, 150, 518, 66, 527, 290, 122, 515, 369,
            514, 500, 87, 300, 178, 178, 494, 94, 258, 103, 414, 150, 503, 120, 176, 56,
            80,
        ],
        mnv: [
            86722, 106344, 62514, 108279, 98469, 114555, 127570, 115155, 118365, 108197,
            97672, 118716, 128472, 138731, 121213, 104191, 111666, 92112, 126960, 70947,
            133398, 123425, 127053, 117161, 102014, 128871, 109256, 127357, 129070,
            130258, 129128, 93616, 123160,
        ],
        pheno: {
            apaQTL: [
                3115, 3781, 5380, 3269, 3565, 3357, 3659, 4511, 5354, 4647, 4478, 4907,
                4356, 3755, 5252, 3128, 4472, 5127, 4000, 6175, 4467, 3697, 4705, 0, 3911,
                4180, 6979, 4617, 520, 3774, 2589, 3734, 3150,
            ],
            eQTL: [
                16098, 16564, 16777, 16509, 16602, 16553, 16095, 17317, 17108, 16608,
                16467, 16846, 16544, 16558, 16953, 15895, 16944, 17106, 16611, 17123,
                17114, 16456, 16848, 16638, 16349, 16267, 17314, 17591, 16487, 16758,
                16801, 17173, 15550,
            ],
            lnceQTL: [
                10387, 11962, 13315, 12147, 12069, 12127, 11354, 18932, 14979, 11587,
                12767, 14727, 12665, 18745, 14201, 9583, 13813, 14345, 12179, 16412,
                13181, 11809, 12918, 12423, 11226, 11027, 18383, 14397, 12939, 13177,
                12326, 13264, 8885,
            ],
            mireQTL: [
                744, 761, 646, 732, 702, 665, 733, 695, 0, 741, 638, 587, 670, 516, 771,
                733, 738, 723, 712, 727, 688, 779, 610, 681, 645, 796, 680, 993, 742, 951,
                748, 833, 754,
            ],
            meQTL: [
                407747, 372097, 368273, 371369, 379193, 387590, 381312, 373181, 380049,
                384470, 387055, 375521, 385983, 395506, 384927, 359912, 384051, 375056,
                375122, 384253, 375660, 389173, 378419, 387226, 359148, 376260, 361142,
                381647, 394672, 377828, 385968, 388295, 390464, 380563,
            ],
            sQTL: [
                26621, 32126, 38429, 33444, 31209, 27467, 26278, 43938, 38905, 35649,
                39172, 39697, 33439, 29805, 41897, 26211, 37237, 39641, 36011, 41416,
                39105, 34322, 37655, 29275, 33923, 34943, 41434, 35759, 39755, 33235,
                24708, 32023, 32068, 34751,
            ],
        },
        qtl: {
            cis: {
                apaQTL: [
                    114, 1077, 2952, 736, 1, 613, 41, 774, 1082, 2222, 165, 2344, 889, 170,
                    2932, 640, 2124, 2105, 242, 1681, 757, 569, 2987, 0, 522, 385, 1684,
                    431, 318, 354, 240, 41, 223,
                ],
                eQTL: [
                    141, 5347, 15489, 3285, 1, 5655, 19, 680, 1741, 11658, 232, 26167, 8863,
                    1423, 25826, 5289, 12168, 9021, 335, 1982, 3472, 2753, 27584, 497, 1791,
                    296, 5809, 1906, 39298, 1972, 749, 26, 564,
                ],
                lnceQTL: [
                    229, 6079, 16787, 3839, 9, 4822, 61, 1285, 2146, 9403, 341, 19662, 6735,
                    1681, 22946, 5079, 11834, 10029, 416, 2699, 3682, 3113, 19529, 674,
                    2462, 328, 5336, 2673, 22771, 3088, 1056, 20, 518,
                ],
                mireQTL: [
                    0, 48, 88, 62, 0, 72, 2, 15, 0, 155, 2, 82, 66, 7, 133, 54, 100, 97, 3,
                    26, 12, 7, 101, 15, 14, 0, 60, 46, 133, 14, 5, 0, 2,
                ],
                meQTL: [
                    2232, 26367, 47013, 16453, 0, 17381, 81, 7199, 261, 60066, 694, 46489,
                    22815, 6962, 61047, 20238, 51644, 28432, 2572, 0, 19525, 11098, 88604,
                    3550, 8823, 3457, 25021, 7884, 80511, 10193, 4687, 410, 3419,
                ],
                sQTL: [
                    675, 8751, 19038, 7286, 9, 8244, 304, 6641, 6434, 13965, 1155, 20699,
                    10428, 1434, 24944, 5953, 14479, 14615, 2127, 7734, 6769, 5925, 20328,
                    2429, 6858, 2549, 8765, 5620, 23126, 4457, 2878, 262, 1605,
                ],
            },
            trans: {
                apaQTL: [
                    16, 40, 56, 47, 6, 38, 0, 1, 0, 26, 2, 57, 75, 0, 78, 52, 77, 28, 13, 2,
                    29, 65, 83, 0, 2, 63, 2, 0, 1, 2, 15, 1, 1,
                ],
                eQTL: [
                    2, 47, 86, 22, 0, 59, 0, 0, 4, 63, 0, 88, 15, 4, 44, 7, 63, 58, 0, 16,
                    7, 9, 120, 0, 4, 0, 37, 0, 238, 0, 3, 0, 0,
                ],
                lnceQTL: [
                    34, 562, 1621, 482, 0, 521, 0, 193, 146, 938, 7, 1508, 662, 206, 1597,
                    499, 925, 965, 99, 328, 341, 262, 1571, 101, 249, 98, 505, 200, 1570,
                    236, 202, 4, 65,
                ],
                mireQTL: [
                    0, 2, 17, 0, 0, 0, 0, 0, 0, 0, 0, 15, 2, 0, 26, 3, 6, 12, 5, 0, 5, 1,
                    13, 0, 1, 2, 0, 1, 35, 8, 0, 0, 0,
                ],
                meQTL: [
                    14, 744, 3088, 232, 1, 424, 0, 65, 0, 1393, 2, 942, 536, 98, 2366, 410,
                    1194, 620, 7, 0, 214, 303, 10564, 17, 101, 13, 412, 215, 2006, 183, 75,
                    0, 34,
                ],
                sQTL: [
                    22773, 2471, 2377, 4919, 5361, 9, 722, 15154, 18697, 1871, 34663, 3006,
                    8894, 29418, 3185, 4115, 2368, 3858, 9418, 147, 28545, 16834, 4133,
                    7633, 8662, 28096, 1655, 24744, 7460, 9923, 3119, 28274, 14879,
                ],
            },
        },
        summary: {
            uniq_mnv: 223759,
            cis_qtl: 1397821,
            trans_qtl: 402381,
            gwas: 119762
        },
        survival: {
            additive: 31484,
            recessive: 25728,
            dominant: 28481,
            either: 46173
        }
    }
}

export default boot(({ app }) => {
    app.config.globalProperties.$getDataCounts = getDataCounts;
});

export { getDataCounts }
